package com.zhou.service;

import com.zhou.dao.SchoolTeacherMessageDAO;
import com.zhou.entity.SchoolTeacherMessage;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service("schoolTeacherMessageService")
public class SchoolTeacherMessageServiceImpl implements SchoolTeacherMessageService {

    @Autowired
    private SchoolTeacherMessageDAO schoolTeacherMessageDAO;
    @Override
    public List<SchoolTeacherMessage> findTaskList(Integer teacherID) {
        return schoolTeacherMessageDAO.findTaskList(teacherID);
    }

    @Override
    public List<SchoolTeacherMessage> findNoticeList(Integer teacherID) {
        return schoolTeacherMessageDAO.findNoticeList(teacherID);
    }
}
